package com.beiben.quality.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同数对象 qa_contract_sum
 *
 * @author gx
 * @date 2021-03-12
 */
public class QaContractSum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long contractId;

    /** 合同数 */
    @Excel(name = "合同数")
    private Long contractSum;

    /** 签订时间 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "签订时间", width = 30, dateFormat = "yyyy-MM")
    private String signDate;

    /** 车型(0牵引 1自卸 2专用 3宽体) */
    @Excel(name = "车型(0牵引 1自卸 2专用 3宽体)")
    private String carType;

    /** 系统(0整车 1动传 2底盘 3车身 4车电) */
    @Excel(name = "系统(0整车 1动传 2底盘 3车身 4车电)")
    private String workSystem;

    /** 所属机构 */
    @Excel(name = "所属机构")
    private Long deptId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String deptName;

    /** 是否试制 (Y是 N否)*/
    @Excel(name = "是否试制")
    private String isProduction;

    public void setContractId(Long contractId)
    {
        this.contractId = contractId;
    }

    public Long getContractId()
    {
        return contractId;
    }
    public void setContractSum(Long contractSum)
    {
        this.contractSum = contractSum;
    }

    public Long getContractSum()
    {
        return contractSum;
    }
    public void setSignDate(String signDate)
    {
        this.signDate = signDate;
    }

    public String getSignDate()
    {
        return signDate;
    }
    public void setCarType(String carType)
    {
        this.carType = carType;
    }

    public String getCarType()
    {
        return carType;
    }
    public void setWorkSystem(String workSystem)
    {
        this.workSystem = workSystem;
    }

    public String getWorkSystem()
    {
        return workSystem;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }

    public String getIsProduction() {
        return isProduction;
    }

    public void setIsProduction(String isProduction) {
        this.isProduction = isProduction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("contractId", getContractId())
                .append("contractSum", getContractSum())
                .append("signDate", getSignDate())
                .append("carType", getCarType())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("workSystem", getWorkSystem())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .append("isProduction", getIsProduction())
                .toString();
    }
}
